export ARCH=arm64
export CROSS_COMPILE=aarch64-linux-gnu-

KERNEL_DIR ?= /data/linux_kernel/linux-5.10.43

obj-m := module_test.o

modules:
	$(MAKE) -C $(KERNEL_DIR) M=$(PWD) modules

clean:
	$(MAKE) -C $(KERNEL_DIR) M=$(PWD) clean

install:
	cp *.ko $(KERNEL_DIR)/kmodules
